/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.onlyxiahui.framework.net.handler.connect.action;

import com.onlyxiahui.framework.net.handler.connect.type.IdleStatus;

/**
 * 2013-9-6 10:11:31 <br>
 * 连接Action
 * 
 * @author XiaHui
 */
public interface ConnectStatusAction {

	/**
	 * 连接状态改变调用
	 * 
	 * @param connected
	 */
	void onStatusChange(boolean connected);

	/**
	 * 
	 * 自动连接一轮完成<br>
	 * Date 2020-05-12 09:24:01<br>
	 * 
	 * @param connected
	 * @since 1.0.0
	 */
	void onAfterAutoConnect(boolean connected);

	/**
	 * 
	 * 空闲<br>
	 * Date 2020-05-12 17:00:07<br>
	 * 
	 * @param idleStatus
	 * @since 1.0.0
	 */
	void onIdle(IdleStatus idleStatus);
}
